package com.ark.common.domain.game.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class GameConfigInfo {

    /**
     * 键
     */
    private String key;

    /**
     * 值
     */
    private Object value;

    /**
     * 0:文本 1: 选择框 2：数字文本 3:下拉选择框
     */
    private int type;

    /**
     * 配置描述
     */
    private String description;

    private List<GameConfigInfo> list= new ArrayList<>();

    public GameConfigInfo(String key, Object value, int type, String description) {
        this.key = key;
        this.value = value;
        this.type = type;
        this.description = description;
    }
}
